<?php
/* @var $this IngatlanController */
/* @var $model Ingatlan */

$this->breadcrumbs = array(
    $model->ingatlanTipusNev,
    $model->ID,
);

$this->menu = array(
    array('label' => 'Ingatlan törlése', 'url' => array('delete/'.$model->ID)),
);
?>
?>

<h1>View Ingatlan #<?php echo $model->ID; ?></h1>



<?php
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'ingatlanTipusNev',
        'varosNev',
        array(
            'label' => 'Eladó',
            'type' => 'text',
            'value' => (($model->eladva == 0) ? "igen" : "nem"),
        ),
        'cim',
        'iranyitoszam',
        array(
            'label' => 'Ár',
            'type' => 'text',
            'value' => Yii::app()->NumberFormatter->format("###,### ft", $model->ar, "HUF"),
        ),
        'leiras',
    ),
));
echo CHtml::link('Vissza',Yii::app()->request->urlReferrer);
?>

